package com.changhongit.dao;

import java.util.List;

import com.changhongit.base.BaseDao;
import com.changhongit.entity.Order;
import com.changhongit.returnentity.ReturnOrder;
import com.changhongit.returnentity.ServiceOrderNum;
import com.changhongit.returnentity.ServiceOrderNumMonth;
import com.changhongit.returnentity.ServiceOrderNumYear;
import com.changhongit.util.PageView;

public interface OrderDao extends BaseDao<Order> {

	public int findCountOrder();

	public void addOrder(Order order);

	public List<ReturnOrder> query(PageView pageView, ReturnOrder returnOrder);

	public List<ServiceOrderNum> queryServiceOrderNum(PageView pageView,ReturnOrder returnOrder);
	
	public List<ServiceOrderNumYear> queryServiceOrderNumYear(PageView pageView,ReturnOrder order);
	
	public List<ServiceOrderNumYear> queryRevenueByYear(PageView pageView,ReturnOrder order);
	
	public List<ServiceOrderNumYear> queryServiceUserRevenueByYear(PageView pageView,ReturnOrder order);
	
	public int queryUnReadOrder(ReturnOrder returnOrder);
	
	public List<ServiceOrderNumYear>  queryServiceOrderNumMonth(PageView pageView,ReturnOrder order);
	
	public List<ServiceOrderNumYear>  queryServiceOrderNumDay(PageView pageView,ReturnOrder order);
	
	public List<ServiceOrderNumMonth>  queryServiceOrderNumYMonth(PageView pageView,ReturnOrder order);
	
	public List<ServiceOrderNumYear> queryServiceUserRevenueByMonth(PageView pageView,ReturnOrder order);
	
	public List<ServiceOrderNumYear> queryServiceUserRevenueByDay(PageView pageView,ReturnOrder order);
	
	public List<ServiceOrderNumMonth> queryServiceUserRevenueByYMonth(PageView pageView,ReturnOrder order);
	
	public List<ServiceOrderNumYear> queryRevenueByMonth(PageView pageView,ReturnOrder order);
	
	public List<ServiceOrderNumYear> queryRevenueByDay(PageView pageView,ReturnOrder order);
	
	public List<ServiceOrderNumMonth> queryRevenueByYmonth(PageView pageView,ReturnOrder order);
}
